import Axios from '../../lib/request'

//管理端获取配送列表
export const getDistributionList = function (data) {
    return Axios.post('/distributionorder/getDistributionList', data)
}
//指派
export const designatePoster = function (data) {
    return Axios.post('/distributionorder/designate', data)
}
//撤销
export const revocationOrder = function (data) {
    return Axios.post('/distributionorder/revocation', data)
}
//订单中查询配送人员信息
export const getorderDispatchinPerson = function (data) {
    return Axios.post("/cashierOrder/orderDispatchinPerson", data);
};